﻿using System.Globalization;
using System.Web.Mvc;

namespace Ctef.Web.Controllers
{
    public class CultureController : Controller
    {
        public ActionResult SelectLanguage(string lang, string returnUrl)
        {
            Session["Culture"] = new CultureInfo(lang);
            return Redirect(returnUrl);
        }
    }
}
